package com.aaa.mbs.service.impl;

import com.aaa.common.bo.Order;
import com.aaa.mbs.service.OrderService;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class OrderFallbackServiceImpl implements OrderService {
    @Override
    public List<Order> queryOrderList(Order order) {
        List<Order> orders=new ArrayList<>();
        Order rorder = new Order();
        rorder.setId(444444);
        rorder.setMemberUsername("远程服务器故障，请稍后重试。。。。。。");
        orders.add(rorder);
        return orders;
    }
}
